Relating direct and predicate transformer partial correctness semantics for an imperative probabilistic-nondeterministic language

نویسندگان

  • Klaus Keimel
  • A. Rosenbusch
  • Thomas Streicher
چکیده

where b ranges over a set BExp of boolean expressions, a ranges over a set Act of basic actions and p is a real number with 0 < p < 1. The aim of the current paper is to perform this task for the partial correctness case where the direct semantics of a program P is given by a function from the set S of states to PLV(S), the convex lower powerdomain of valuations on S. Here V(S) is the set of all subprobability distributions on S which we identify with functions μ : S → [0, 1] such that ∑ s∈S μ(s) ≤ 1. Thus V(S) is a subdomain of I where I is the unit interval [0, 1] considered as a domain with the usual order ≤. The domain PLV(S) consist of all nonempty convex closed lower subsets of V(S) ordered by ⊆. With every f : S → PLV(S) one may associate the function Wp(f) : I → I defined as

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Predicate transformer semantics of a higher-order imperative language with record subtyping

Using a set-theoretic model of predicate transformers and ordered data types, we give a total-correctness semantics for a higher order imperative programming language that includes record extension, local variables, and procedure-type variables and parameters. The language includes infeasible speciication constructs, for a calculus of reenement. Procedures may have global variables, subject to ...

متن کامل

Refinement: An overview

The purpose of this initial chapter is to introduce concepts and techniques assumed as general background in the remaining chapters of this book. The relevant notions are introduced using a simple and well-known programming notation: Dijkstra’s language of guarded commands [81], presented in Section 1. Three classical approaches to assigning semantic meaning to programs are then explored. In Se...

متن کامل

Relating State Transformation Semantics and Predicate Transformer Semantics for Parallel Programs

A state transformation semantics and a predicate transformer semantics for programs built from atomic actions, sequential composition, nondeterministic choice, parallel composition, atomisation, and recursion are presented. Both semantic models are derived from some SOS-style labelled transition system. The state transformation semantics and the predicate transformer semantics are shown to be i...

متن کامل

Understanding Probabilistic Programs

We present two views of probabilistic programs and their relationship. An operational interpretation as well as a weakest precondition semantics are provided for an elementary probabilistic guarded command language. Our study treats important features such as sampling, conditioning, loop divergence, and non-determinism.

متن کامل

A Minkowski type duality mediating between state and predicate transformer semantics for a probabilistic nondeterministic language

where b ranges over a set BExp of boolean expressions, a ranges over a set Act of basic actions and p is a real number with 0 < p < 1. We write cond(b, P,Q) for the conditional usually denoted as if b then P else Q fi and while(b, P ) for the while loop usually denoted as while b do P od The program P8Q nondeterministically executes either P or Q. The program P p⊕Q executes P with probability p...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 412  شماره 

صفحات  -

تاریخ انتشار 2011